package com.blog.blog.service.oss;

import com.blog.blog.common.PageResponse;
import com.blog.blog.vo.OssFileVO;

import java.util.Set;

public interface OssAdminService {
    PageResponse<OssFileVO> pageList(Integer status, String q, Integer pageNo, Integer pageSize);
    void deleteByKey(String key);
    int cleanupUnused(boolean verify);
    void setStatus(String url, Integer status);
    boolean exists(String key);
    Set<String> references(String type, Long id);
}


